package com.lebang.mapper;

import com.lebang.configuration.datasource.DataSource;
import com.lebang.domain.MemberIdentityInfo;
import com.lebang.example.MemberIdentityInfoExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * MemberIdentityInfoMapper继承基类
 */
@Mapper
public interface MemberIdentityInfoMapper extends MyBatisBaseDao<MemberIdentityInfo, Long, MemberIdentityInfoExample> {
    MemberIdentityInfo selectOneByCard(@Param("iCard") String iCard,@Param("name")String name);

    @DataSource("commonDB")
    void insertOne(MemberIdentityInfo memberIdentityInfo);
}